package top.sirgo.jasper.demo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by skyline on 2018/9/6.
 *
 * @since 1.0
 */
public class OrderListModel {

    private Long id;
    /**
     *
     */
    private String orderNo;

    /**
     * 用户手机号
     */
    private String mobile;

    private String nickName;

    private String name;

    /**
     * 支付金额
     */
    private BigDecimal totalFee;

    /**
     * 支付系统实收金额
     */
    private BigDecimal receivedFee;

    private BigDecimal couponFee;

    /**
     * 0 钱包支付  1k客户子卡支付  2微信支付
     */
    private Integer payType;
    private String payTypeStr;

    /**
     * 支付状态，0未支付 1已支付
     */
    private Integer payStatus;

    private String payStatusStr;

    private String payStatusCss;

    private Integer orderStatus;

    private String orderStatusStr;

    /**
     * 使用的积分
     */
    private Integer score;
    /**
     * 订单类型：0加油
     */
    private Integer orderType;
    /**
     *
     */
    private Integer discount;
    /**
     * 外键，大客户主键ID
     */
    private Long customerId;

    private String customerName;


    /**
     * 外键，t_filling_station主键id
     */
    private Long fsId;

    private String fsAddress;

    private String fsSitename;

    private String fsMobile;

    /**
     *
     */
    private Long employeeId;

    /**
     *
     */
    private String employeeName;

    /**
     * 如果是大客户的子卡，此字段记录t_card表的主键id
     */
    private Long cardId;

    private String cardNo;

    /**
     * 外键，产品主键，（油品）
     */
    private Long productId;

    private String productName;

    /**
     *
     */
    private String productNo;

    /**
     * 订单创建时间
     */
    private Date createTime;

    private Date updateTime;

    private Date payTime;

    private boolean printStatus;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public BigDecimal getTotalFee() {
       // return totalFee.add(couponFee);
        return totalFee;
    }

    public void setTotalFee(BigDecimal totalFee) {
        this.totalFee = totalFee;
    }

    public BigDecimal getReceivedFee() {
        return receivedFee;
    }

    public void setReceivedFee(BigDecimal receivedFee) {
        this.receivedFee = receivedFee;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayStatusStr() {
        if (payStatusStr == null) {
            payStatusStr = "ces";
        }

        return payStatusStr;
    }

    public void setPayStatusStr(String payStatusStr) {
        this.payStatusStr = payStatusStr;
    }

    public void setPayStatusCss(String payStatusCss) {
        this.payStatusCss = payStatusCss;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getDiscount() {
        return discount;
    }

    public void setDiscount(Integer discount) {
        this.discount = discount;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public Long getFsId() {
        return fsId;
    }

    public void setFsId(Long fsId) {
        this.fsId = fsId;
    }

    public Long getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Long employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getFsAddress() {
        return fsAddress;
    }

    public void setFsAddress(String fsAddress) {
        this.fsAddress = fsAddress;
    }

    public String getFsSitename() {
        return fsSitename;
    }

    public void setFsSitename(String fsSitename) {
        this.fsSitename = fsSitename;
    }

    public String getFsMobile() {
        return fsMobile;
    }

    public void setFsMobile(String fsMobile) {
        this.fsMobile = fsMobile;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public boolean isPrintStatus() {
        return printStatus;
    }

    public void setPrintStatus(boolean printStatus) {
        this.printStatus = printStatus;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getCouponFee() {
        return couponFee;
    }

    public void setCouponFee(BigDecimal couponFee) {
        this.couponFee = couponFee;
    }

    public String getPayTypeStr() {
        return payTypeStr;
    }

    public void setPayTypeStr(String payTypeStr) {
        this.payTypeStr = payTypeStr;
    }

    public String getOrderStatusStr() {
        return orderStatusStr;
    }

    public void setOrderStatusStr(String orderStatusStr) {
        this.orderStatusStr = orderStatusStr;
    }
}